<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    .active{
      color: red;
    }
  </style>
</head>
<body>

<div id="app" v-cloak>
  <!--<h2 :style="{css属性名:属性值}">{{message}}</h2>-->
  <h2 :style="{font-size: '50px'}">{{message}}</h2>
  <h2 :style="{font-size: findalSize + 'px',backgroundcolor: findColor}">{{message}}</h2>
</div>

<script src="../js/vue%20.js"></script>
<script>
  setTimeout(function (){
  const app = new Vue({
    el: '#app',
    data: {
      message: 'hello',
      findalSize: 100,
      findColor: 'red'
    },
  })
  },1000)
</script>
</body>
</html>